package com.zd.service;

import com.zd.model.InfoManage;

import java.util.List;
import java.util.Map;

public interface IInfoManageService {


    /**
     * 查询信息发布信息
     * @param pageNum
     * @param pageSize
     * @param queryMap
     * @return
     */
    public List<InfoManage> selectInfoManage(int pageNum,int pageSize,Map<String,Object> queryMap);

    /**
     * 插入信息
     * @param infoManage
     * @return
     */
    public boolean insertSelective(InfoManage infoManage);

    /**
     * 查看详情
     * @param id
     * @return
     */
    public InfoManage selectInfoManageById(int id);

    /*
     * 修改信息
     */
    public boolean updateSelective(InfoManage infoManage);

    /**
     * 物理删除文件字段
     * @param id
     * @param deleteFileurlName
     * @return
     */
    public boolean deleteFileurlName(int id,String deleteFileurlName);
    /**
     * 逻辑删除信息发布
     * @param id
     * @return
     */
    public boolean deleteInfoManage(int id);

    List<InfoManage> selectInfo(int pageNum,int pageSize,Map<String,Object> queryMap);

    List<InfoManage> selectPolicyDocumentManage(int pageNum,int pageSize,Map<String,Object> queryMap);

    List<InfoManage> selectSchoolManage(int pageNum,int pageSize,Map<String,Object> queryMap);

}
